Page({
  data: {
    repairDescription: ''
  },
  handleSubmit() {
    if (!this.data.repairDescription.trim()) {
      wx.showToast({
        title: '请输入维修内容',
        icon: 'none'
      });
      return;
    }

    // 模拟提交成功
    wx.showToast({
      title: '提交成功（模拟）',
      icon: 'success'
    });
    setTimeout(() => {
      wx.navigateBack();
    }, 1500);
  }
}); 